﻿using System.Xml;
using System.Xml.Serialization;

namespace Bpmn.Xml;

/// <remarks/>
[XmlInclude(typeof(LabeledEdge))]
[XmlInclude(typeof(BpmnEdge))]
[Serializable]
[XmlType(Namespace = "http://www.omg.org/spec/DD/20100524/DI", TypeName = "Edge")]
[XmlRoot(Namespace = "http://www.omg.org/spec/DD/20100524/DI", IsNullable = false)]
public abstract partial class Edge : DiagramElement
{
    /// <remarks/>
    [XmlElement("waypoint")]
    public Point[] Waypoint { get; set; } = default!;
}
